package com.sevenwolves.bean;

import java.util.Date;

public class Renttable implements java.io.Serializable {

	// Fields
	private static final long serialVersionUID = 1906563500440421678L;
	private Integer tableid;
	private User users;
	private Customer customers;
	private Car cars;
	private Integer imprest;
	private Integer shouldpayprice;
	private Integer price;
	private Date begindate;
	private Date shouldreturndate;
	private Date returndate;
	private Integer rentflag;

	public Renttable() {
		// default constuctors
	}

	public Renttable(User users, Customer customers, Car cars, Integer imprest,
			Integer shouldpayprice, Integer price, Date begindate,
			Date shouldreturndate, Date returndate, Integer rentflag) {
		this.users = users;
		this.customers = customers;
		this.cars = cars;
		this.imprest = imprest;
		this.shouldpayprice = shouldpayprice;
		this.price = price;
		this.begindate = begindate;
		this.shouldreturndate = shouldreturndate;
		this.returndate = returndate;
		this.rentflag = rentflag;
	}

	public Renttable(Integer tableid, User users, Customer customers, Car cars,
			Integer imprest, Integer shouldpayprice, Integer price,
			Date begindate, Date shouldreturndate, Date returndate,
			Integer rentflag) {
		this.tableid = tableid;
		this.users = users;
		this.customers = customers;
		this.cars = cars;
		this.imprest = imprest;
		this.shouldpayprice = shouldpayprice;
		this.price = price;
		this.begindate = begindate;
		this.shouldreturndate = shouldreturndate;
		this.returndate = returndate;
		this.rentflag = rentflag;
	}

	// Property accessors

	public Integer getTableid() {
		return this.tableid;
	}

	public void setTableid(Integer tableid) {
		this.tableid = tableid;
	}

	public User getUsers() {
		return this.users;
	}

	public void setUsers(User users) {
		this.users = users;
	}

	public Customer getCustomers() {
		return this.customers;
	}

	public void setCustomers(Customer customers) {
		this.customers = customers;
	}

	public Car getCars() {
		return this.cars;
	}

	public void setCars(Car cars) {
		this.cars = cars;
	}

	public Integer getImprest() {
		return this.imprest;
	}

	public void setImprest(Integer imprest) {
		this.imprest = imprest;
	}

	public Integer getShouldpayprice() {
		return this.shouldpayprice;
	}

	public void setShouldpayprice(Integer shouldpayprice) {
		this.shouldpayprice = shouldpayprice;
	}

	public Integer getPrice() {
		return this.price;
	}

	public void setPrice(Integer price) {
		this.price = price;
	}

	public Date getBegindate() {
		return this.begindate;
	}

	public void setBegindate(Date begindate) {
		this.begindate = begindate;
	}

	public Date getShouldreturndate() {
		return this.shouldreturndate;
	}

	public void setShouldreturndate(Date shouldreturndate) {
		this.shouldreturndate = shouldreturndate;
	}

	public Date getReturndate() {
		return this.returndate;
	}

	public void setReturndate(Date returndate) {
		this.returndate = returndate;
	}

	public Integer getRentflag() {
		return this.rentflag;
	}

	public void setRentflag(Integer rentflag) {
		this.rentflag = rentflag;
	}
}